package com.wtwd.campus.send;

import com.alibaba.fastjson.JSONObject;
import com.wtwd.campus.entity.Command;
import com.wtwd.campus.entity.DeviceBindingStatus;
import com.wtwd.campus.entity.MqMessage;

public class SetBindingStatusSender implements Sender {
    @Override
    public Command dealMessage(MqMessage mqMessage) {
        DeviceBindingStatus binding = (DeviceBindingStatus) mqMessage.getObject();
        Command command = buildBindingStatus(binding);
        return command;
    }
}
